package vue;

import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.lang.*;

import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JPanel;

import model.Archer;
import model.Case;

public class Grille extends JPanel implements MouseListener {
	
	private int vita, vital;
	private final AffichePrincipalePlateau damier;
	private final JLabel etiquette;

	
	
	public AffichePrincipalePlateau getDamier() {
		return damier;
	}


	public JLabel getEtiquette() {
		
		return etiquette;
	}

	public Grille(){
		super(new FlowLayout());
		this.addMouseListener(this);
		damier=new AffichePrincipalePlateau(8, 8);
		etiquette=new JLabel("Aucune partie en cours");
		add(damier);
		add(etiquette);
	}
	
	
	
	public void mouseClicked(MouseEvent arg0) {
		
	}
	public void mouseEntered(MouseEvent arg0) {
		
	}
	public void mouseExited(MouseEvent arg0) {
		
	}

	public void mousePressed(MouseEvent arg0) {	
		
	}

	public void mouseReleased(MouseEvent arg0) {		
	}


	public int getVita() {
		// TODO Auto-generated method stub
		return vital;
	}

}

